home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set mySprite to the clickOn
- set myCast to the castNum of sprite mySprite
- repeat while the stillDown
- if rollOver(mySprite) then
- set the castNum of sprite mySprite to myCast + 1
- else
- set the castNum of sprite mySprite to myCast
- end if
- updateStage()
- end repeat
- if rollOver(mySprite) then
- continue()
- end if
- end
-